From 36450ad8ff3b5ee47c0984c7f9b685fd0d98da43 Mon Sep 17 00:00:00 2001 From: "Jan D." Date: Sat, 21 Jul 2012 14:10:49 +0200 Subject: [PATCH] * nsterm.m (accessibilityAttributeValue): Surround with NS_IMPL_COCOA. --- src/ChangeLog | 1 + src/nsterm.m | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 59db9e2ae49..3df4da17415 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * nsterm.m (accessibilityAttributeValue): New function. (Bug#11134). (conversationIdentifier): Return value is NSInteger. + * nsterm.m (accessibilityAttributeValue): Surround with NS_IMPL_COCOA. 2012-07-21 Chong Yidong diff --git a/src/nsterm.m b/src/nsterm.m index 09bbe2c3f5a..e018ea34910 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -6038,6 +6038,7 @@ ns_term_shutdown (int sig) @implementation EmacsWindow +#ifdef NS_IMPL_COCOA - (id)accessibilityAttributeValue:(NSString *)attribute { Lisp_Object str = Qnil; @@ -6092,6 +6093,7 @@ ns_term_shutdown (int sig) return [super accessibilityAttributeValue:attribute]; } +#endif /* NS_IMPL_COCOA */ /* If we have multiple monitors, one above the other, we don't want to restrict the height to just one monitor. So we override this. */ -- 2.30.2